.scrollBar() {
  &::-webkit-scrollbar-track-piece {
      background: #d3dce6;
  }
  &::-webkit-scrollbar {
      width: 6px;
  }
  &::-webkit-scrollbar-thumb {
      background: #99a9bf;
      border-radius: 20px;
  }
}

.placeholderStyle(@color, @opacity) {
  &::-webkit-input-placeholder {
      color: @color;
      opacity: @opacity;
  }
  &:-moz-placeholder {
      /* Firefox 18- */
      color: @color;
      opacity: @opacity;
  }
  &::-moz-placeholder {
      /* Firefox 19+ */
      color: @color;
      opacity: @opacity;
  }
  &:-ms-input-placeholder {
      color: @color;
      opacity: @opacity;
  }
}

.gradient(@color-1, @color-2, @color-3) {
  background: @color-2;
  /* Old browsers */
  background: -moz-radial-gradient(bottom, ellipse cover, @color-1 0%, @color-2 45%, @color-3 100%);
  /* FF3.6-15 */
  background: -webkit-radial-gradient(bottom, ellipse cover, @color-1 0%, @color-2 45%, @color-3 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: radial-gradient(ellipse at bottom, @color-1 0%, @color-2 45%, @color-3 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='@color-1', endColorstr='@color-3', GradientType=1);
  /* IE6-9 fallback on horizontal gradient */
}